package com.gitee.pifeng.monitoring.server.business.server.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gitee.pifeng.monitoring.server.business.server.dao.ILinkStatDao;
import com.gitee.pifeng.monitoring.server.business.server.entity.TLinkStat;
import com.gitee.pifeng.monitoring.server.business.server.service.ILinkStatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author wt
 * @Date: 2023/11/27 15:01
 * @Description:
 */
@Service
public class LinkStatServiceImpl extends ServiceImpl<ILinkStatDao, TLinkStat> implements ILinkStatService {

    /**
     * 数据库表数据访问对象
     */
    @Autowired
    private ILinkStatDao linkStatDao;

    @Override
    public List<TLinkStat> selectSaAppTagList(TLinkStat tLinkStat) {
        return linkStatDao.selectTLinkStatList(tLinkStat);
    }

    @Override
    public int updateTLinkStat(TLinkStat tLinkStat)
    {
        return linkStatDao.updatetLinkStat(tLinkStat);
    }
}
